using System;
using System.Collections.Generic;
using System.Text;

namespace iBing.AutoUpdate
{
    public class LocalFileList : List<LocalFile>
    {
        public LocalFileList() { }

        public LocalFile getFileByFileName(string fileName)
        {
            LocalFile localFile = null;
            foreach (LocalFile lFile in this)
            {
                if (lFile.Path == fileName)
                {
                    localFile = lFile;
                    break;
                }
            }
            return localFile;
        }
    }
}
